package library;

/***
 * @author Ragnvald Fuglestein
 */

import callback.ImportArtistCallback;
import baseStructure.Artist;
import baseStructure.SortedList;

public abstract class LibraryCollectArtists {
	protected SortedList<Artist> artistlist = null;
	private boolean done = false;
	private ImportArtistCallback callback;
	public LibraryCollectArtists(ImportArtistCallback callback) {
		this.callback = callback;
	}
	
	protected void setCompleted() {
		callback.importArtists(artistlist);
		done = true;
	}
	
	public boolean getStatus() { return done; }
}
